<!DOCTYPE>
<html>
<head>
    <base href="<%=basePath%>">

    <title>教材生产计划总表</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--

    <link rel="stylesheet" type="text/css" href="styles.css">

    <link rel="stylesheet" type="text/css" href="../../css/reset.css">-->
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/icon.css">

    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../js/jquery.form.js"></script>
    <script type="text/javascript" src="../../easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../easyui/locale/easyui-lang-zh_CN.js"></script>

</head>

<body>
<div align="center">
    <h2 style="color:#0078CA;font-size: 20px;">教材生产计划总表</h2>
</div>
<div style="display: flex;flex-direction: column;justify-content:center;align-items: center;">
    <form method="POST" enctype="multipart/form-data" id="form1">
        <input class="easyui-filebox" id="upfile" name="upfile" style="width:200px" data-options="buttonText:'选择文件',accept: '*'" />
        <a class="easyui-linkbutton c1" type="button" id="btn" name="btn" data-options="iconCls:'icon-add'" onclick="uploadFile()">导入</a>
    </form>
</div>
<!-- 数据显示 -->
<div align="center" style="height: 85%">
    <table id="data" class="easyui-datagrid" data-options="">
    </table>
</div>
<!-- 工具栏 -->
<div id="tb" style="text-align:center;display: none">
    期号：<input type="text" style="width:150px" id="issuenumber" class="easyui-combobox"
                data-options="url: '/management/jiaoCaiPlan/issueNumberTips'
                                ,method: 'get'
                                ,valueField: 'issuenumber'
                                ,textField: 'issuenumber'
                                ,panelWidth: 150
                                ,panelHeight: '200' "/>
    印刷厂：<input type="text" style="width:200px" id="plantingname" class="easyui-combobox"
               data-options="url: '/management/jiaoCaiPlan/plantingnameTips'
                                ,method: 'get'
                                ,valueField: 'plantingname'
                                ,textField: 'plantingname'
                                ,panelWidth: 200
                                ,panelHeight: '300' "/>
    征订代码：<input type="text" style="width:200px" id="subcode" class="easyui-combobox"
                data-options="url: '/management/jiaoCaiPlan/subcodeTips'
                                ,method: 'get'
                                ,valueField: 'subcode'
                                ,textField: 'subcode'
                                ,panelWidth: 200
                                ,panelHeight: '300' "/>
    业务部门：<input type="text" style="width:200px" id="partment" class="easyui-combobox"
               data-options="url: '/management/jiaoCaiPlan/partmentTips'
                                ,method: 'get'
                                ,valueField: 'partment'
                                ,textField: 'partment'
                                ,panelWidth: 200
                                ,panelHeight: '300' "/>
    批次号：<input class="easyui-textbox" id="batchno" style="width:200px">

    <br/>
    交包日期开始：<input id="handBagDate" class="easyui-datebox" data-options="" style="width:150px" />
    交包日期结束：<input id="handBagDateEnd" class="easyui-datebox" data-options="" style="width:150px" />
    包件类型：<input type="text" style="width:150px" id="type" class="easyui-combobox"
                data-options="url: '/management/jiaoCaiPlan/typeTips'
                                ,method: 'get'
                                ,valueField: 'type'
                                ,textField: 'type'
                                ,panelWidth: 200
                                ,panelHeight: '300' "/>
    <input class="easyui-checkbox" labelPosition="after" checked value="1" id="flag"  label="未交包">
    <a class="easyui-linkbutton" iconCls="icon-search" onclick="queryInfo()">查询</a>
    <a class="easyui-linkbutton" iconCls="icon-edit" onclick="tool.edit()">修改</a>
    <a class="easyui-linkbutton" iconCls="icon-remove" onclick="tool.remove()">删除</a>
</div>
<div id="tips" class="easyui-window" title="提示" data-options="modal:true,closed:true,collapsible:false,minimizable:false,maximizable:false,draggable:false,closable:false" style="width:200px;height:100px;padding:10px;">
    导入文件中，请勿操作
</div>
<!-- 修改信息窗口 -->
<div id="w-editInfo" class="easyui-window" title="修改信息"
     data-options="modal:false,closed:true,iconCls:'icon-edit'"
     style="width: 700px; height: 350px; padding: 0px;">
    <form align="center" style="text-align:center;margin: 10px;line-height: 41px;">
        <h2>修改信息</h2>
        <input type="hidden" id="oldId_2">
        <table border="0px" align="center" cellpadding='2'width="100%">
            <tr>
                <td>期号：</td><td><input class="easyui-textbox" type="text" id="edit_issueNumber"  data-options="readonly:true"/></td>
                <td>批次号：</td><td><input class="easyui-textbox" type="text" id="edit_batchno" data-options="readonly:true"/></td>
            </tr>
            <tr>
                <td>交包日期：</td><td><input class="easyui-datebox" type="text" id="edit_handbagdate"  data-options=""/></td>
                <td>类型：</td><td><select class="easyui-combobox" name="state"id="edit_type"  >
                                        <option>成品</option>
                                        <option>成品（市店半）</option>
                                        <option>成品（市店捆）</option>
                                        <option>半成品</option>
                                        <option>半成品（市店）</option>
                                        <option>捆扎</option>
                                        <option>捆扎（市店）</option>
                                        <option>教参</option>
                                        <option>印刷厂直送</option>
                                        <option>出版社直发</option>
                                        <option>教材经营公司直发</option>
                                        <option>库存</option>
                                    </select></td>
            </tr>
            <tr>
                <td>备注：</td><td><input class="easyui-textbox" type="text" id="edit_remark" data-options=""/></td>
            </tr>
            <tr>
                <td colspan='4' align="center">&nbsp;&nbsp;&nbsp;
                    <a class="easyui-linkbutton" onclick="editInfo()">提交</a>
                </td>
            </tr>
        </table>
    </form>
</div>
<script type="text/javascript" src="../../js/util/util.js"></script>
<script type="text/javascript" src="jiaoCaiPlan.js"></script>
</body>
</html>
